using System;

namespace CQRS.Events
{
    public interface ISnapshotRepository<TEvent> where TEvent : Event
    {
        ISnapshot GetSnapshot(Guid entityId);
        void SaveShapshot(IEventProvider<TEvent> entity);
    }
}